package pojo;

import lombok.Data;

public class Customer {
    private int customer_id;//	顾客ID
    private String name;//  姓名
    private String contact;//   联系号码
    private String address;//   地址
    private String registrationDate;//   顾客注册时间
    private int left_money;// 余额
    private int driver_license_number;// 驾驶证号
    private String password;//  密码
    private int rent_car_number;// 租车台数

    public Customer() {
    }

    public Customer(int customer_id, String name, String contact, String address, String registrationDate, int left_money, int driver_license_number, String password, int rent_car_number) {
        this.customer_id = customer_id;
        this.name = name;
        this.contact = contact;
        this.address = address;
        this.registrationDate = registrationDate;
        this.left_money = left_money;
        this.driver_license_number = driver_license_number;
        this.password = password;
        this.rent_car_number = rent_car_number;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "customer_id=" + customer_id +
                ", name='" + name + '\'' +
                ", contact='" + contact + '\'' +
                ", address='" + address + '\'' +
                ", registrationDate='" + registrationDate + '\'' +
                ", left_money=" + left_money +
                ", driver_license_number=" + driver_license_number +
                ", password='" + password + '\'' +
                ", rent_car_number=" + rent_car_number +
                '}';
    }

    public int getCustomer_id() {
        return customer_id;
    }

    public void setCustomer_id(int customer_id) {
        this.customer_id = customer_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRegistrationDate() {
        return registrationDate;
    }

    public void setRegistrationDate(String registrationDate) {
        this.registrationDate = registrationDate;
    }

    public int getLeft_money() {
        return left_money;
    }

    public void setLeft_money(int left_money) {
        this.left_money = left_money;
    }

    public int getDriver_license_number() {
        return driver_license_number;
    }

    public void setDriver_license_number(int driver_license_number) {
        this.driver_license_number = driver_license_number;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getRent_car_number() {
        return rent_car_number;
    }

    public void setRent_car_number(int rent_car_number) {
        this.rent_car_number = rent_car_number;
    }
}
